commit: Don't delete tmp/cache dir
authorColin Walters <walters@verbum.org>
Mon, 29 Aug 2016 15:03:35 +0000 (11:03 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 29 Aug 2016 17:30:15 +0000 (17:30 +0000)
commita269075724dda958bb66e19f0d4ec3f5e52d97ba
tree9bad82b33313b0b33d8fcc36d214693babd417d7
parent8ece4d6d51bdbe3e41ab318259276bb83e553aa0
commit: Don't delete tmp/cache dir

We hold a fd open on this, and it's basically now expected
to be immortal.  Confer that status.

This was showing up in flatpak crashers, because we'd get
an unexpected errno.

(I didn't test this fixes the crasher, but it's clearly right)

https://bugzilla.redhat.com/show_bug.cgi?id=1347293

Closes: #476
Approved by: alexlarsson
src/libostree/ostree-repo-commit.c